package com.mbyte.easy.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mbyte.easy.admin.entity.Group;
import com.mbyte.easy.security.entity.SysUser;

/**
 * <p>
 * 板块负责人与组ID关系表 服务类
 * </p>
 *
 * @author lp
 * @since 2019-12-16
 */
public interface IGroupService extends IService<Group> {

    SysUser getUserByUserName(String username);

    boolean existGroupName(String name);

    /**
     * 用于查看组名--祺至
     * @param groupId
     * @return
     */
    String getNameByGroupId(String groupId);
}
